package xyz.hubery.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("修改手机号请求对象")
public class UpdateLoginPasswordRequest {

    @NotBlank
    @ApiModelProperty(value = "新密码", required = true)
    private String newpassword;

    @NotBlank
    @ApiModelProperty(value = "旧密码",required = true)
    private String oldpassword;


    @NotBlank
    @ApiModelProperty(value = "验证码", required = true)
    private String validateCode;

}
